<link rel="stylesheet" href="{{__PUBLIC__}}kindeditor/themes/default/default.css" />
<script charset="utf-8" src="{{__PUBLIC__}}kindeditor/kindeditor-all-min.js"></script>
<script charset="utf-8" src="{{__PUBLIC__}}kindeditor/lang/zh-CN.js"></script>
<script>
   //初始化编辑器 key id
   function editorInit(key,id){
        KindEditor.ready(function(K) {
            window[key] = K.create('#'+id, {
                    resizeType : 1,
                    allowPreviewEmoticons : false,
                    allowImageUpload : true,
                    uploadJson: '/admin/public/uploadimg',
                    items : [
                            'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                            'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                            'insertunorderedlist', '|', 'emoticons', 'image', 'link']
                    });
		});
   }
</script>